A task compatible with the Scheduler, adding a synchronization point. More...
Public Member Functions | |
SchedulerTask () | |
virtual | ~SchedulerTask () |
virtual void | onSync ()=0 |
![]() | |
Task () | |
virtual | ~Task () |
virtual void | onAsyncWork ()=0 |
A task compatible with the Scheduler, adding a synchronization point.
nkTasks::SchedulerTask::SchedulerTask | ( | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Method called during synchronization, after the task's asynchronous work has been done. The call happens during the call to Scheduler::tick when a task is marked as ready.
Implemented in nkTasks::LambdaSchedulerTask.